package com.ruoyi.manipulator_certification.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 飞手认证对象 manipulator_certification
 * 
 * @author jx
 * @date 2025-05-20
 */
public class ManipulatorCertification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 认证姓名 */
    @Excel(name = "认证姓名")
    private String name;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String cardType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String cardId;

    /** 认证邮箱 */
    @Excel(name = "认证邮箱")
    private String email;

    /** 认证性别（0 女 / 1 男） */
    @Excel(name = "认证性别", readConverterExp = "0=,女=,/=,1=,男=")
    private Long sex;

    /** 飞手 id */
    @Excel(name = "飞手 id")
    private Long manipulatorId;

    /** 授权起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授权起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 授权终止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授权终止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCardType(String cardType) 
    {
        this.cardType = cardType;
    }

    public String getCardType() 
    {
        return cardType;
    }

    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }

    public void setManipulatorId(Long manipulatorId) 
    {
        this.manipulatorId = manipulatorId;
    }

    public Long getManipulatorId() 
    {
        return manipulatorId;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cardType", getCardType())
            .append("cardId", getCardId())
            .append("email", getEmail())
            .append("sex", getSex())
            .append("manipulatorId", getManipulatorId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
